home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.internetmci.com!xmission!inteleNET!usenet
- From: cjmorgan@intele.net (Jason V. Morgan)
- Newsgroups: comp.lang.c
- Subject: Re: Game Programming 21 days: problems compiling code
- Date: 19 Jan 1996 23:50:22 GMT
- Organization: inteleNET Internet Services
- Message-ID: <4dpanu$1fc@vodka.intele.net>
- References: <4dn7sh$590@ixnews6.ix.netcom.com>
- NNTP-Posting-Host: provomodem1-p1-8.intele.net
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-Newsreader: WinVN 0.99.7
-
- In article <4dn7sh$590@ixnews6.ix.netcom.com>, psilocyn@ix.netcom.co says...
- >
- >I got the book Teach Yourself Game Programming in 21 Days recently, and
- >the source code was written with a microsoft compiler. My question then
- >is, how can I change the MS code to work with Borland code (if possible)?
- >
-
- I was able to convert that exact same code for Borland C++ 3.1 and compile
- and run everything. One problem you may have is that the author used
- _dos_alloc (or something like that) to get memory for the sound blaster
- interface. Borland can't have dos allocate its memory with its heap based
- memory manager in use. You should change the calls to malloc, you can still
- force it to a segment boundry.
-
-